//
//  ServiceResponse.h
//  gongwei-ios
//
//  Created by gongwei-mac on 2020/1/21.
//  Copyright © 2020 gongwei-mac. All rights reserved.
//
#import "ServiceError.h"
#import "../message/api/Message.h"
#import "../message/api/MessageType.h"
#import "../message/api/MessageResponseType.h"

@interface ServiceResponse : Message

@property NSString * requestId;
@property NSString * sessionToken;
@property BOOL succeeded;
@property NSObject * returnValue;
@property ServiceError * serviceError;

-(NSString *)getSessionToken;

-(NSObject *) getReturnValue;

-(BOOL) isSucceeded;

-(NSString *) getRequestId;

-(ServiceError *) getServiceError;

@end
